<template>
	<view class="head">
		<view class="head_bg">
			<view class="head_inner_bg">
				<image class="head_logo" style="width: 100%;height: 100%;border-radius: 50px;" :src="headImgurl"/>
			</view>
		</view>
	</view>
</template>

<script>
	import { mapState } from 'vuex'
	export default {
		data() {
			return {
				
			};
		},
		computed:{
			...mapState(['userInfo']),
			headImgurl:function(){
				return this.userInfo.headimgurl || '/static/img/head.png';
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	@import 'login.scss';
</style>
